package net.lab1024.sa.admin.module.business.contact.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 联系方式 更新表单
 *
 * @Author 1
 * @Date 2025-06-20 16:36:02
 * @Copyright 1
 */

@Data
public class ContactUpdateForm {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "id 不能为空")
    private Integer id;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "姓名 不能为空")
    private String name;

    @Schema(description = "电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "电话 不能为空")
    private String phone;

}